package com.meilai.project.service.administration.goods;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meilai.project.dto.administration.goods.GoodsStorageManageDTO;
import com.meilai.project.entity.administration.goods.GoodsStorageManage;
import com.meilai.project.entity.administration.goods.GoodsType;
import com.meilai.project.vo.administration.goods.GoodsStorageManageVO;

import java.util.List;

/**
 * @author ykb
 * @date 2022/2/12 20:22
 */
public interface GoodsStorageManageService extends IService<GoodsStorageManage> {
    // 分页
    Page<GoodsStorageManageVO> selectPageList(Integer current_page, Integer page_size,
                                              GoodsStorageManageDTO searchDTO);

    List<GoodsType> storageList();


//    // 修改
//    Boolean editOneById(GoodsStorageManageDTO dto);
//    // 更新
//    Boolean updateOrSave(GoodsStorageManageDTO dto);
//    //校验库存是否足够
//    Boolean checkGoodsStorage(Long dec_number,Long supplier_id,Long supplier_goods_id);

}
